package com.oscar.ehome.utils.dowload.db;


import com.oscar.ehome.utils.dowload.entity.ThreadInfo;

import java.util.List;

/**
 * Created by luoss on 2016/5/14.
 */
public interface ThreadDAO {

    public void insertThread(ThreadInfo info);
    public void deleteThread(String url, int thread_id);
    public void deleteThread(String url);
    public void updateThread(String url, int thread_id, int finished);
    public boolean isExists(String url, int thread_id);
}
